package yannan.voiplock4ble.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * <p>name:</p>
 * <p>describe:密码列表item的实体类</p>
 *
 * @author Maintel
 * @time 2016/9/9 21:15
 */
@Entity
public class PwdKeyBean {

    @Id
    public long id;

    /*
    userIdentifier	密码编号
    lockserialId	锁的序列号
    isBan	是否被禁止开门（1:启用；0:未启用）
    nickName	别名
     */

    public String userIdentifier;
    public String lockserialId;
    public String isBan;
    public String nickName;
    public int type = 1;
    @Generated(hash = 678433726)
    public PwdKeyBean(long id, String userIdentifier, String lockserialId, String isBan, String nickName,
            int type) {
        this.id = id;
        this.userIdentifier = userIdentifier;
        this.lockserialId = lockserialId;
        this.isBan = isBan;
        this.nickName = nickName;
        this.type = type;
    }

    public PwdKeyBean(String userIdentifier, String lockserialId, String isBan, String nickName, int type) {
        this.userIdentifier = userIdentifier;
        this.lockserialId = lockserialId;
        this.isBan = isBan;
        this.nickName = nickName;
        this.type = type;
    }

    @Generated(hash = 374312436)
    public PwdKeyBean() {
    }

    public String getUserIdentifier() {
        return this.userIdentifier;
    }
    public void setUserIdentifier(String userIdentifier) {
        this.userIdentifier = userIdentifier;
    }
    public String getLockserialId() {
        return this.lockserialId;
    }
    public void setLockserialId(String lockserialId) {
        this.lockserialId = lockserialId;
    }
    public String getIsBan() {
        return this.isBan;
    }
    public void setIsBan(String isBan) {
        this.isBan = isBan;
    }
    public String getNickName() {
        return this.nickName;
    }
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }

}
